from machine import Pin, TouchPad
import time 
tp=TouchPad(Pin(27))
while True:
    a = tp.read()
    print(str(a))
    time.sleep_ms(500)